var fromCtrl = angular.module('fromCtrl', []);


fromCtrl.controller('login', ['$scope', 
	function($scope){
		$scope.uerInfo = {
			name : '吴彬祺',
			email : '365424555@qq.com',
			number : '15977485942',
			age : '25'
		};
		$scope.getUerInfo = function(){
			console.log($scope.uerInfo);
		}
		$scope.setUerInfo = function(){
			$scope.uerInfo = {
				name : 'wubinqi',
				email : '2409605552@qq.com',
				number : '18617392706',
				age : '26'
			}
		}
		$scope.resetUerInfo = function(){
			$scope.uerInfo = {
				name : '吴彬祺',
				email : '365424555@qq.com',
				number : '15977485942',
				age : '25'
			}
		}

	}]
)







